WinXs Version 2.1a Copyright (C) 1997 Mick Meaden Software Online Limited All Rights Reserved CONTENTS Features of this version of WinXs include: i. Cat for Windows. Concatenates one or more files and appends them to a named output file, which is created if it does not already exist. ii. Col for Windows. Filters reverse line-feeds and vari- ous other control characters. Optionally, this filter can also be used to remove backspace sequences or to convert spaces to tabs. iii. Compress and Uncompress. Windows version of the UNIX compress(1) and uncompress(1) commands, which are use- ful when downloading files from the Internet or when transferring large files to and from UNIX systems. iv. Csplit. Splits a text file based on context. Sec- tions of a named input file can be written to dif- ferent output files or skipped based on an argument list, which consists of a series of regular expres- sions and line numbers that indicate the end of each input section. Any lines left in the input file after all arguments have been matched are written out as a single section to the last output file. v. Dos2unix and Unix2dos. Filters for converting between DOS and UNIX text file formats; that is, CR-LF (DOS) and LF (UNIX). vi. Du for Windows. A Windows implementation of the UNIX du(1) command, which recursively lists the number of blocks allocated to files and directories. vii. Expand for Windows. Performs the opposite function of col(1) and expands tabs to spaces. viii. File Compare. A set of programs that perform various file comparisons, including binary comparisons based on the UNIX cmp(1) program, directory comparisons based on dircmp(1), and differential text file com- parisons based on diff(1). ix. File for Windows. This program attempts to determine the contents of a file or files by examination of the Windows registration database, a table of magic numbers uniquely identifying file types, and finally the contents of the file itself. x. Fmt for Windows. A simple text processing utility for performing modest tasks such as formatting mail mes- sages. Text can be formatted using block, indented, crown or centered paragraphs, optionally with left and right text justification. xi. Fold for Windows. Folds lines from its input files, breaking the lines to have a maximum column width (after tab and backspace processing) or a maximum number of bytes. Optionally, lines can be broken at the last blank character within the specified column or byte width. xii. Grep for Windows. A pattern searching program that scans one or more text files for a specified character sequence. Grep uses basic regular expression pattern matching, as defined in X/Open Portability Guide Issue 4. xiii. Grex for Windows. Is a simple stream editor that sup- ports various ed(1)-like editing commands. These include text matching and substitution, text deletion, line deletion, and multi-line text insertion. xiv. Gzip and Gunzip. Provides a Windows interface to GNU gzip(1), which is a separate DOS program that can be obtained free of charge under the terms and conditions of the GNU software license (see associated help file for further details). xv. Hd for Windows. A file viewer that will display any type and size of file in hexadecimal format. Hd sup- ports the same scrolling, search and text marking com- mands as More. It also supports printing and print previewing. xvi. Head and Tail. These tools display the first, middle or last part of one or more text files. The amount of text displayed (in numbers of lines) is specified via the associated dialog. xvii. More for Windows. A file viewer that supports more(1) functionality and file movement commands. This is a full featured Windows MDI (multi-document interface) application, with print and print previewing using pr(1), basic regular expression searching, text mark- ing, configurable display and printer fonts, escapes to your favourite editor, rendering with or without line numbers, text or hexadecimal display, etc.. More supports File Manager drag and drop and will display files of any size, depending on virtual store availa- bility. xviii. Nl for Windows. A filter that allows line numbers to be added to one or more text files. Line numbers are added on the left under the control of various options, which permit line numbers to be left or right justified and padded with either spaces or zeros. Optionally, all input lines can be numbered, or numbering can be limited to non-blank lines only. xix. Pax for Windows. Provides a Windows interface for the creation, reading and writing of cpio, ustar or tar portable archives. The archive formats supported by this utility are fully compatible with the extended cpio and extended ustar archive formats defined by X/Open and POSIX. Pax can be used for local, incre- mental archiving, or it can be used for information interchange with UNIX systems. xx. Sed for Windows. A stream editor that applies an editing script to one or more input text files, overwriting the input files with the results or con- catenating the output to a single named output file. The command syntax supported by this tool is fully compatible with the stream editor command syntax defined in ISO/IEC 9945-2: 1993, Information Technology - Portable Operating System Interface (POSIX) - Part 2: Shell and Utilities. xxi. Sort for Windows. Sorts and/or merges one or more text files, either numerically or lexicographically. Options allow the sort order to be reversed, diction- ary sorting, case folding, blanks or non-printing characters to be ignored, and duplicate lines to be omitted from the output. xxii. Split for Windows. A Windows version of the UNIX split(1) command, which breaks a file up into a speci- fied multiple of line, byte, kilobyte or megabyte pieces. This version also provides an Unsplit facil- ity for combining output files generated by a previous call to Split back into a single, large file. xxiii. Strings for Windows. This utility is commonly used on UNIX systems to search object files for copyright statements, error messages, etc.. This version will scan files of any size and content, and will option- ally display file offsets of located strings. xxiv. Touch for Windows. Use this utility to set file access and modification times. This is particularly useful when used in conjunction with the incremental archiving capabilities of the Pax tool, i.e. to include or exclude specific files in incremental archives. xxv. Tr for Windows. Substitutes, deletes or squeezes characters from its input. This is a general purpose filter that can be used for such things as converting the case of characters, deleting control characters, breaking files up into word lists, reducing multi- character sequences to single characters, etc.. xxvi. Uuencode and Uudecode. Windows versions of the UNIX commands of the same name. Useful when downloading stuff from the Internet, or when using UNIX mail. xxvii. Wc for Windows. A Windows version of the UNIX wc(1) command, which counts the number of lines, words and bytes in one or more text files. xxviii. Winxsdll.dll. This DLL adds an extra menu to the Windows File Manager menu bar, allowing the above WinXs programs to be initiated directly from File Manager (see below for details). xxix. WinXs Shell (32-bit version only). This is activated from the Folders context menu within Explorer and pro- vides A UNIX-like directory display, plus easy access to any of the WinXs tools. The WinXs shell is also available from the context menu associated with the Start button on Taskbar. The WinXs utilities can be accessed directly from File Manager, or from Explorer and the Taskbar (32-bit version only). To use More as the default text file viewer or text file print program on your system, run WinXs setup and check the appropriate configuration options (see setup help for further details). In addition, this version if WinXs also includes the follow- ing command line tools: cat, cmp, col, compress, cp, csplit, df, diff, dircmp, dos2unix, du, expand, file, find, fmt, fold, grep, head, ls, man, mv, nl, od, pg, rm, sed, sort, split, strings, tail, tee, touch, tr, uudecode, uuencode, unix2dos, wc, whence. These can be used either in batch files or from the Command prompt. All WinXs commands line tools support an option -h, which causes the tool to display a brief synopsis and usage line. For more detailed information use the "man" command, which displays a reference manual page for the named command or commands (e.g., man man). Use "man -k -" to display a com- plete list of manual reference pages.